package cn.felord.app.security;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author Dax
 * @since 9:13  2018/9/21
 */
@Data
@ConfigurationProperties(prefix = "jwt.cert")
public class JwtCertificateProperties {
    private String keyPath;
    private String keyAlias;
    private String keyPass;
    /**
     * access token 有效期天数
     */
    private int accessTokenExpDays;
    /**
     * refresh token 有效期天数
     */
    private int refreshTokenExpDays;

}
